#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include"AVLTree.h"
using namespace std;

void test1()
{
	AVLTree<int, int> tree;
	/*tree.Insert({ 5,0 });
	tree.Insert({ 1,0 });
	tree.Insert({ 3,0 });
	tree.Insert({ 2,0 });
	tree.Insert({ 7,0 });*/
	/*tree.Insert({ 9,0 });
	tree.Insert({ 10,0 });
	tree.Insert({ 4,0 });
	tree.Insert({ 3,0 });
	tree.Insert({ 6,0 });
	tree.Insert({ 7,0 });*/
	tree.Insert({ 4,0 });
	tree.Insert({ 3,0 });
	tree.Insert({ 2,0 });
	tree.Insert({ 5,0 });
	tree.Insert({ 6,0 });
	tree.Insert({ 7,0 });

	cout << tree.IsBalanceTree() << endl;
}

int main()
{
	test1();
	return 0;
}